<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<div>
	<input id="ciInspectCount" name="ciInspectCount" type="hidden"
		value="${fn:length(inspectList)}">
	<table class="ci-failure-info">
		<tr>
			<c:set var="taskId" value="" />
			<td><c:forEach items="${inspectList}" var="inspect">

					<table class="comment">
						<tr>
							<td class="header" colspan="2">发生时间：<fmt:formatDate
									value="${inspect.create_date}" pattern="yyyy-MM-dd HH:mm" />
								&nbsp;&nbsp;处理人： ${inspect.act_principal_name}&nbsp;&nbsp;编号: <a
								class="nui-txt-link"
								href="javascript:isperp.openDialog({contentUrl:'task/task/view?id=${inspect.task_id}'});">${inspect.code}</a>
							</td>
						</tr>

						<tr>
							<td class="tdCaption">变更标题:</td>
							<td class="tdContent">${inspect.name}</td>
						</tr>
						<tr>
							<td class="tdCaption">巡检情况:</td>
							<td class="tdContent"><c:forEach
									items="${inspectEntities[inspect.task_id]}" var="inspectItem">
									<p>
										<label>${inspectItem.check_name }</label>:${inspectItem.check_value
										}
									</p>

								</c:forEach></td>
						</tr>
						<tr>
							<td class="buttom" colspan="2">实施者：${inspect.act_principal_name}&nbsp;&nbsp;实施时间：<fmt:formatDate
									value="${inspect.act_start_time}" pattern="yyyy-MM-dd HH:mm" />
							</td>
						</tr>


					</table>

				</c:forEach>
			</td>
		</tr>
	</table>
</div>
